<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <body>
		<br/>
		<div id="text-green">
     	<p>Congratulations <strong><sec:authentication property="principal.firstname"/> <sec:authentication property="principal.lastname"/></strong>
     	, You have created pool <strong>${pool.name}</strong> for the event <Strong>${event.label}</Strong>  , Now the final step to invite your friends.
		</p>
		</div>
	   <div class="curved-box">
		<h2/>
			<h1>Invite your Friends</h1>
			<div id="inputBox">
		<form:form id="create" action="/pool/invite?id=${pool.id}" method="post" modelAttribute="emailForm">
             	<form:label path="toAddress">
		  			Enter your friends gmail address separated by comma:<br/>
		 		</form:label>
		 		<br/>
		  		<form:textarea path="toAddress" cssClass="textAreaClass"/> <br />
				<form:hidden path="fromAddress"/>
				<form:hidden path="subject"/>
				<form:hidden path="messageBody"/>
<br/>
            <div><input type="submit" id="submitButton" name="submitButton"  value=""/></div>
        </form:form>
        </div>
        <p/>	   
		</div>		

		    
	

    </body>
 
</html>